import requests



# 用这个就不用管session了
session = requests.session()

# GET请求用
def get_request(urls, **kwargs):
    re = session.get(url=urls, **kwargs)
    return re

# post请求用
def post_request(urls, **kwargs):
    re = session.post(url=urls, **kwargs)
    return re